<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta name="layout" content="mobile"> 
    <title>New ${facility.name} Service</title>
  </head>
  <body>
    

        <h2>New Service For ${facility.name}</h2>
        <g:form action="addNew">
          <dl>
            <g:hiddenField name="facility.name" value="${facility?.name}"/>
            <dt>Name: </dt>
            <dd><g:textField name="name" value="${facilityService?.name}" width="40%"/></dd>
            <dt>Summary: </dt>
            <dd><g:textArea id="attributeDescription" name="serviceSummary" value="${facilityService?.serviceSummary}" width="1000px" height="1000px"/></dd>
          </dl>
          <br><g:submitButton name="add" value="Add" data-icon="plus"/></br>
        </g:form>
        
        <g:form controller="facility" action="view">
          <g:hiddenField name="name" value="${facility.name}"/>
          <g:submitButton name="submit" value="Facility" data-icon="back"/>
        </g:form>

  </body>
</html>
